Getting Started as a User
- Mount AppFS
- Download AppFS
$ wget https://appfs.rkeene.org/web/uv/releases/1.14/appfs-1.14.tar.gz
- Compile AppFS
$ gzip -dc appfs-1.14.tar.gz | tar -xf -
$ cd appfs-1.14
$ make
- Install AppFS
# make install
- Run AppFS Daemon
# mkdir /opt/appfs
# /usr/local/sbin/appfsd /var/cache/appfs /opt/appfs
- Optionally configure AppFS to mount on boot:
- Add to
/etc/fstab
:
/var/cache/appfs /opt/appfs appfs defaults 0 0
- Read about AppFS Configuration
- Start using AppFS
Getting Started as a Publisher
- Run AppFS Daemon
- Generate a certificate if you do not already have one
$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-cert generate-selfsigned
- Create package build script
$ vi pkgs/myPackage
- Add (example from zlib):
version=1.2.8
url="http://zlib.net/zlib-${version}.tar.gz"
domain=core.appfs.rkeene.org
sha256='36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d'
- Use the "AppFS" build script
$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-build --cpio myPackage
- Publish your application
$ /opt/appfs/core.appfs.rkeene.org/appfs/noarch-noarch/latest/bin/appfs-mkfs --cpio <fileName> /web/static/mysite.mydomain.com/appfs /path/to/appfs_key /path/to/appfs_certificate